package com.edu.d6_abstract;

public class GoldCard extends Card{
    @Override
    public void pay(double money2) {
        System.out.println("您消费的金额为："+money2);
        System.out.println("您账户的余额为："+(getMoney()-money2));
    }
}
